Skip to content

Github Actions: only on push to main#1916

Merged
Conengmo merged 1 commit intopython-visualization:mainfrom
Conengmo:ci-only-push-main
Apr 3, 2024
Merged

Github Actions: only on push to main#1916
Conengmo merged 1 commit intopython-visualization:mainfrom
Conengmo:ci-only-push-main

Conversation

@Conengmo
Copy link
Copy Markdown
Member

@Conengmo Conengmo commented Apr 3, 2024

Run our CI only on pushes to the main branch, not to any branch. This makes sure CI doesn't start on branches of forks, which is a waste, since we run CI on our pull requests anyway. Branches on forks are meant to be merged into the main repo through a PR, so running CI on the branch is not necessary.

@Conengmo
Copy link
Copy Markdown
Member Author

Conengmo commented Apr 3, 2024

Thanks Martin!

@Conengmo Conengmo merged commit 3ec6ad6 into python-visualization:main Apr 3, 2024
@Conengmo Conengmo deleted the ci-only-push-main branch April 3, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants